Efficient Management of Backtracking in AND-Parallelism

نویسندگان

  • Manuel V. Hermenegildo
  • R. I. Nasr
چکیده

A b a c k t r a c k i n g a lgor i thm for AND-Para l l e l i sm and its imp lemen ta t i on at the Abstract Mach ine level are presen ted : first, a class of AND-Para l l e l i sm models based on goal independence is defined, and a generalized version of Res t r ic ted AND-Para l l e l i sm ( R A P ) in t roduced as cha rac te r i s t i c of th is class. A s imple and efficient b a c k t r a c k i n g algor i thm for R A P is then discussed. An imp lemen ta t i on scheme is presented for th is a lgor i thm which offers m i n i m u m overhead , while re ta in ing the per formance and s torage economy of sequent ial i m p l e m e n t a t i o n s and t ak ing a d v a n t a g e of goal independence to avoid unnecessary b a c k t r a c k i n g ( " res t r i c t ed intel l igent b a c k t r a c k i n g " ) . Final ly, the implementa t ion of b a c k t r a c k i n g in sequent ia l and AND-Para l l c l sys t ems is explained through a number of examples .

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Exploiting Data Parallelism for Efficient Execution of Logic Programs on Associative Super Computers

We describe a model to exploit data parallelism present in associative computers for efficient execution of logic programs on associative supercomputers. We present an alternate scheme for logical structure representation which naturally interfaces lists and vectors on associative computers for efficient integration of symbolic and numerical computation on existing associative supercomputers. W...

متن کامل

Exploiting data parallelism for efficient execution of logic programs with large knowledge bases

A model is presented which is designed to exploit data parallelism present in associative computers for the e cient execution of logic programs. Data parallel model allows e cient handling of very large knowledge bases. A scheme for logical data structure representation incorporating direct interface between lists and vectors is described which allows the e cient integration of symbolic and num...

متن کامل

Parallel backtracking with answer memoing for independent and-parallelism

Goal-level Independent and-parallelism (IAP) is exploited by scheduling for simultaneous execution two or more goals which will not interfere with each other at run time. This can be done safely even if such goals can produce multiple answers. The most successful IAP implementations to date have used recomputation of answers and sequentially ordered backtracking. While in principle simplifying ...

متن کامل

A Study of the Role of Repetition of Music in the Nimayee Poems of Akhavan Sales

In this article, the aim of the authors is to study the role of repetition in creating music and parallelism in Nimayee poems in the three collections of poems by Mehdi Akhavan Sales: Zamestan, Akhere Shahname and Az Avesta. Accordingly, the researchers have investigated the various manners of repetition in creating parallelism in the poems at three levels: phonological parallelism, lexical par...

متن کامل

Complete and Efficient Methods for Supporting Side-effects in Independent/Restricted AND-Parallelism

It has been shown that it is possible to exploit Independent/Restricted And-parallelism in logic programs while retaining the conventional “don’t know” semantics of such programs. In particular, it is possible to parallelize pure Prolog programs while maintaining the semantics of the language. However, when builtin side-effects (such as write or assert) appear in the program, if an identical ob...

متن کامل

Unrestricted And-Parallel Execution of Logic Programs with Dependency Directed Backtracking

A model of unrestricted And-parallel execution for logic programs is described, based on Dependency Directed Backtracking (DDBT) aimed at improving the efficiency of execution while remaining faithful to conventional syntax and semantics. This is achieved with maximum exploitation of parallelism, DDBT, support of opportunistic stream parallelism and potentially parallel backtracking. The same d...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1986